import { BaseRequest, BaseResponse } from 'tsrpc'
import { ConfigEditorResponse, ImportOptions } from './base'

export interface ReqImportConfigs extends BaseRequest {
    /** 配置类型 */
    type: string
    /** 配置数据 */
    data: any[]
    /** 导入选项 */
    options: ImportOptions
}

export interface ResImportConfigs extends ConfigEditorResponse<{
    imported: number
    skipped: number
    errors: string[]
}> {
    
}
